<div id="main">
<%= render :partial => "site/partials/breadcrumbs", :locals => { :current_page => "Search" }%>
<h1>Search sites</h1>

<%= render :partial => 'site/partials/search' %>
<% for site in @sites %>
  <div>
  <b><%= link_to site.title, :controller => 'site', :site_directory => site.directory, :action => 'site_show' %></b><br>
  <%= site.description %>
  </div>
<% end %>

<%= link_to 'Previous page', { :page => @site_pages.current.previous } if @site_pages.current.previous %>
<%= link_to 'Next page', { :page => @site_pages.current.next } if @site_pages.current.next %> 
</div>